package segment

import (
	"github.com/go-ego/gse"
)

var (
	text = "南京市长江大桥"
	text2 = "武汉市长江大桥"
	seg	gse.Segmenter
	)

func SegCut (str string) []string{
	seg.LoadDict("/Users/guyuefei/workspace/go/sim_test/src/github.com/go-ego/gse/data/dict/dictionary.txt")
	segment1 := seg.Cut(str,true)

	return segment1
}

